-- connect service for dplsvc, type 1 
-- for non-coroutine use.
local client=require'zsvc.client'
module(..., package.seeall)

local CS1= {}
local CS1_mt = {__metatable = {}, __index = CS1}

function new(param)
	local obj=setmetatable({},CS1_mt)
	obj._con=client.connect(param.host,param.port,param.timeout or 60000)
	return obj
end

function CS1:get_connect(id)
	return self._con
end
